Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0008852/0.0008854, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006361/0.006362, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.82/1.82, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.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.0004873/0.0004876, allocations: 18.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4105, allocations: 47.57 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005367/0.4159, allocations: 3.669 MB / 330.7 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.4192, allocations: 0.9014 MB / 331.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.4198, allocations: 12.56 kB / 331.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.4202, allocations: 63.58 kB / 331.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.4208, allocations: 160.8 kB / 331.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.4214, allocations: 121.2 kB / 331.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4227, allocations: 0.6427 MB / 332.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.4234, allocations: 169.9 kB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.4239, allocations: 225.1 kB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.4244, allocations: 262.6 kB / 333.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.4245, allocations: 31.31 kB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4246, allocations: 31.28 kB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4247, allocations: 102.5 kB / 333.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.4251, allocations: 306.5 kB / 333.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.4259, allocations: 0.5995 MB / 334.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.426, allocations: 1.469 kB / 334.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.426, allocations: 0 / 334.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.426, allocations: 0 / 334.3 MB, free: 11.86 MB / 270.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.00179/0.4278, allocations: 0.7781 MB / 335.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.4279, allocations: 8.875 kB / 335.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.428, allocations: 71.45 kB / 335.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.4286, allocations: 359.7 kB / 335.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4287, allocations: 37.38 kB / 335.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.4288, allocations: 48.38 kB / 335.6 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.4298, allocations: 495.5 kB / 336.1 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4298, allocations: 3.938 kB / 336.1 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.4299, allocations: 20 kB / 336.1 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.4299, allocations: 12 kB / 336.1 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.4306, allocations: 336.3 kB / 336.4 MB, free: 9.828 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.4336, allocations: 1.724 MB / 338.2 MB, free: 8.008 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.4341, allocations: 261.1 kB / 338.4 MB, free: 7.734 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.4344, allocations: 150 kB / 338.6 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4344, allocations: 4 kB / 338.6 MB, free: 7.578 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4345, allocations: 42.47 kB / 338.6 MB, free: 7.527 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 3.256e-06/0.4345, allocations: 4 kB / 338.6 MB, free: 7.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002306/0.4368, allocations: 0.9697 MB / 339.6 MB, free: 6.477 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.4369, allocations: 85.05 kB / 339.7 MB, free: 6.375 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.4375, allocations: 389.6 kB / 340 MB, free: 5.984 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.4376, allocations: 33.7 kB / 340.1 MB, free: 5.945 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.4379, allocations: 283.5 kB / 340.3 MB, free: 5.664 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.438, allocations: 118.3 kB / 340.5 MB, free: 5.547 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.4381, allocations: 37.7 kB / 340.5 MB, free: 5.504 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.4384, allocations: 350.7 kB / 340.8 MB, free: 5.152 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4386, allocations: 104.8 kB / 340.9 MB, free: 5.051 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.439, allocations: 202.5 kB / 341.1 MB, free: 4.816 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.4396, allocations: 318 kB / 341.5 MB, free: 4.469 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4396, allocations: 4 kB / 341.5 MB, free: 4.465 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009806/0.4406, allocations: 450.3 kB / 341.9 MB, free: 4.012 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4406, allocations: 8 kB / 341.9 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.4407, allocations: 8.312 kB / 341.9 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.4412, allocations: 81.64 kB / 342 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.4415, allocations: 83.84 kB / 342.1 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.4452, allocations: 2.857 MB / 344.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.4456, allocations: 19.98 kB / 345 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.4456, allocations: 16 kB / 345 MB, free: 0.6719 MB / 270.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.0003432/0.446, allocations: 169.6 kB / 345.1 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4461, allocations: 39.53 kB / 345.2 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.4462, allocations: 51.52 kB / 345.2 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.4463, allocations: 4 kB / 345.2 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.4463, allocations: 0 / 345.2 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4463, allocations: 0 / 345.2 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4479, allocations: 0.9499 MB / 346.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.448, allocations: 0 / 346.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4482, allocations: 55.91 kB / 346.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.4485, allocations: 77.64 kB / 346.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4485, allocations: 12 kB / 346.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.4509, allocations: 2.853 MB / 349.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4509, allocations: 4.031 kB / 349.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4519, allocations: 0.6207 MB / 349.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.4521, allocations: 120.6 kB / 349.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.4521, allocations: 11.94 kB / 349.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.4525, allocations: 35.97 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4526, allocations: 23.97 kB / 350 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4526, allocations: 8 kB / 350 MB, free: 11.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.453, allocations: 279.2 kB / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.453, allocations: 0 / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006714/0.4537, allocations: 116 kB / 350.4 MB, free: 10.87 MB / 286.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.0001983/0.4539, allocations: 107.8 kB / 350.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4549, allocations: 0.5168 MB / 351 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4549, allocations: 0.625 kB / 351 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.4556, allocations: 393.2 kB / 351.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.4563, allocations: 57.42 kB / 351.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.4585, allocations: 1.241 MB / 352.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.459, allocations: 0.8392 MB / 353.5 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.4592, allocations: 39.3 kB / 353.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.4593, allocations: 31.42 kB / 353.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4593, allocations: 4 kB / 353.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of Templates: time 0.009976/0.4693, allocations: 4.374 MB / 358 MB, free: 3.16 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)