Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.478/1.478, allocations: 230.5 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 53.31 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004861/0.1156, allocations: 3.324 MB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1179, allocations: 1.417 MB / 431.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1181, allocations: 8 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2132/0.3313, allocations: 140.3 kB / 431.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.3327, allocations: 428.7 kB / 432.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3331, allocations: 186.2 kB / 432.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006441/0.3337, allocations: 465.5 kB / 432.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3339, allocations: 109.5 kB / 432.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.3341, allocations: 168.2 kB / 433.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3344, allocations: 206 kB / 433.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.3344, allocations: 37.62 kB / 433.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.3348, allocations: 169.5 kB / 433.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.3348, allocations: 88.61 kB / 433.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3349, allocations: 191.2 kB / 433.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.3355, allocations: 0.5507 MB / 434.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3355, allocations: 0 / 434.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3355, allocations: 0 / 434.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3355, allocations: 1.562 kB / 434.3 MB, free: 6.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001245/0.3368, allocations: 0.7617 MB / 435.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3368, allocations: 9.594 kB / 435.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.3369, allocations: 67.92 kB / 435.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.3376, allocations: 122.8 kB / 435.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.3381, allocations: 313.6 kB / 435.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3381, allocations: 26.06 kB / 435.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.3381, allocations: 35.72 kB / 435.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.3387, allocations: 360.4 kB / 436 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3387, allocations: 1.125 kB / 436 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3388, allocations: 12.34 kB / 436 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3388, allocations: 10.44 kB / 436 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.3393, allocations: 247.4 kB / 436.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.3412, allocations: 1.319 MB / 437.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.3416, allocations: 187.6 kB / 437.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3417, allocations: 83.8 kB / 437.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/0.3425, allocations: 1.2 MB / 439 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3425, allocations: 36.61 kB / 439.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3425, allocations: 1.375 kB / 439.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005228/0.343, allocations: 217.2 kB / 439.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.343, allocations: 91.42 kB / 439.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3433, allocations: 289.2 kB / 439.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3433, allocations: 31.36 kB / 439.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3434, allocations: 241 kB / 439.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.3435, allocations: 69.23 kB / 440 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.3436, allocations: 62.94 kB / 440.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.3436, allocations: 336.2 kB / 440.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3438, allocations: 68.16 kB / 440.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.344, allocations: 198.2 kB / 440.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.3443, allocations: 290.1 kB / 440.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3443, allocations: 2.469 kB / 440.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005206/0.3448, allocations: 315.7 kB / 441.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3449, allocations: 8.688 kB / 441.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3449, allocations: 4.312 kB / 441.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3449, allocations: 9.594 kB / 441.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.3452, allocations: 91.22 kB / 441.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3452, allocations: 11.11 kB / 441.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3454, allocations: 38.64 kB / 441.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3454, allocations: 18.86 kB / 441.4 MB, free: 2.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3455, allocations: 152.3 kB / 441.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.3456, allocations: 30.58 kB / 441.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.3456, allocations: 33.62 kB / 441.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3457, allocations: 9.938 kB / 441.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3457, allocations: 1 kB / 441.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3457, allocations: 2.094 kB / 441.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.3463, allocations: 0.5058 MB / 442.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3463, allocations: 1.094 kB / 442.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3465, allocations: 49.45 kB / 442.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3465, allocations: 5.156 kB / 442.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3465, allocations: 7.219 kB / 442.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3465, allocations: 2.969 kB / 442.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3465, allocations: 1.062 kB / 442.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.347, allocations: 422.4 kB / 442.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.3471, allocations: 114.9 kB / 442.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.3471, allocations: 2.75 kB / 442.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3473, allocations: 16.2 kB / 442.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3474, allocations: 13.53 kB / 442.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3474, allocations: 5.859 kB / 442.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3475, allocations: 200.8 kB / 443 MB, free: 1.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3475, allocations: 0 / 443 MB, free: 1.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.348, allocations: 82.73 kB / 443.1 MB, free: 1.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007323/0.3487, allocations: 0.9733 MB / 444 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.3491, allocations: 190.4 kB / 444.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3491, allocations: 0 / 444.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3492, allocations: 66.38 kB / 444.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3496, allocations: 31.53 kB / 444.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.3537, allocations: 3.115 MB / 447.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.3541, allocations: 0.7724 MB / 448.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3542, allocations: 40.45 kB / 448.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3544, allocations: 106.2 kB / 448.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3544, allocations: 0 / 448.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3885, allocations: 5.619 MB / 454 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.619, allocations: 2.562 kB / 454 MB, free: 12.92 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.977385112084448] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.Phi.re', 'inductor_e.i'] 8.688909772317857 8.703950602 8.365467333 Calling exit ...