Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001362, allocations: 110.5 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 200.1 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 44.22 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 46.63 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005556/0.1238, allocations: 4.041 MB / 378.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.281/0.4048, allocations: 0.9105 MB / 379.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.4053, allocations: 6.875 kB / 379.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.4058, allocations: 95.97 kB / 379.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.4062, allocations: 176.5 kB / 379.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.4067, allocations: 142.5 kB / 379.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008375/0.4076, allocations: 0.6722 MB / 380.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.408, allocations: 205.5 kB / 380.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.4084, allocations: 263 kB / 381 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.4089, allocations: 288.8 kB / 381.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.409, allocations: 55.22 kB / 381.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.4092, allocations: 60.53 kB / 381.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.4094, allocations: 125.8 kB / 381.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.4097, allocations: 305.7 kB / 381.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.4107, allocations: 0.6432 MB / 382.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4107, allocations: 0 / 382.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4107, allocations: 1.094 kB / 382.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4108, allocations: 0 / 382.5 MB, free: 9.168 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001544/0.4123, allocations: 0.8773 MB / 383.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4124, allocations: 9.75 kB / 383.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4125, allocations: 65.42 kB / 383.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.4131, allocations: 378.6 kB / 383.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4131, allocations: 37.28 kB / 383.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.4132, allocations: 47.94 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.414, allocations: 482.1 kB / 384.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4141, allocations: 3.938 kB / 384.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.4141, allocations: 21.44 kB / 384.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4141, allocations: 17.47 kB / 384.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.4147, allocations: 325.3 kB / 384.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.4175, allocations: 1.684 MB / 386.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.418, allocations: 274.1 kB / 386.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.4183, allocations: 143.3 kB / 386.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.4184, allocations: 3.406 kB / 386.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4184, allocations: 33.47 kB / 386.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.4184, allocations: 0 / 386.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002176/0.4206, allocations: 0.9684 MB / 387.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.4207, allocations: 85.23 kB / 387.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.4212, allocations: 386.7 kB / 388.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4213, allocations: 31.05 kB / 388.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4215, allocations: 294.5 kB / 388.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.154e-05/0.4215, allocations: 115.3 kB / 388.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4217, allocations: 72 kB / 388.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4218, allocations: 352.4 kB / 389.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.422, allocations: 110.6 kB / 389.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4223, allocations: 190.6 kB / 389.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.4228, allocations: 321.5 kB / 389.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4228, allocations: 0 / 389.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000794/0.4236, allocations: 447.6 kB / 390.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4237, allocations: 7.062 kB / 390.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4237, allocations: 3.375 kB / 390.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.424, allocations: 81.89 kB / 390.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.4244, allocations: 74.97 kB / 390.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.4267, allocations: 3.135 MB / 393.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.4271, allocations: 20.38 kB / 393.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.4271, allocations: 13.41 kB / 393.5 MB, free: 1.199 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.4273, allocations: 171.9 kB / 393.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.4274, allocations: 48.77 kB / 393.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.4275, allocations: 41.42 kB / 393.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4275, allocations: 4.219 kB / 393.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4275, allocations: 6.391 kB / 393.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4275, allocations: 2.219 kB / 393.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.4289, allocations: 0.9333 MB / 394.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4289, allocations: 1.312 kB / 394.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.4291, allocations: 48.2 kB / 394.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.4293, allocations: 77.89 kB / 394.8 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.4294, allocations: 7.516 kB / 394.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.4319, allocations: 3.137 MB / 397.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4319, allocations: 5.312 kB / 398 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.433, allocations: 0.611 MB / 398.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4331, allocations: 120.1 kB / 398.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.4332, allocations: 10.69 kB / 398.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4335, allocations: 32 kB / 398.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4337, allocations: 32.47 kB / 398.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.4337, allocations: 11.61 kB / 398.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000358/0.4341, allocations: 272 kB / 399 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.4341, allocations: 4 kB / 399 MB, free: 12.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.4347, allocations: 119.7 kB / 399.2 MB, free: 12.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.4349, allocations: 107.7 kB / 399.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4359, allocations: 0.5112 MB / 399.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.436, allocations: 0.7188 kB / 399.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.4366, allocations: 393.2 kB / 400.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.4371, allocations: 61.83 kB / 400.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4391, allocations: 0.9568 MB / 401.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.4396, allocations: 0.8332 MB / 402 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.4398, allocations: 47.58 kB / 402.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.4399, allocations: 30.39 kB / 402.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4399, allocations: 0 / 402.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Templates: time 0.01173/0.4516, allocations: 4.742 MB / 406.8 MB, free: 9.23 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)