Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001209/0.001209, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004452/0.0004454, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.233, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00524/0.2383, allocations: 4.735 MB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.2421, allocations: 2.057 MB / 333.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.2426, allocations: 27.09 kB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.2433, allocations: 315 kB / 333.6 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.2444, allocations: 467.8 kB / 334 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.2447, allocations: 148.9 kB / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2464, allocations: 1.463 MB / 335.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.2478, allocations: 1.318 MB / 337 MB, free: 8.965 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.249, allocations: 0.7202 MB / 337.7 MB, free: 8.242 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.2501, allocations: 0.8599 MB / 338.5 MB, free: 7.379 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.2503, allocations: 128 kB / 338.7 MB, free: 7.254 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.2507, allocations: 191.8 kB / 338.9 MB, free: 7.066 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.2511, allocations: 0.4946 MB / 339.4 MB, free: 6.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.2515, allocations: 444.6 kB / 339.8 MB, free: 6.129 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.254, allocations: 3.067 MB / 342.9 MB, free: 3.055 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.254, allocations: 0 / 342.9 MB, free: 3.055 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.254, allocations: 0 / 342.9 MB, free: 3.055 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.402e-05/0.2541, allocations: 0 / 342.9 MB, free: 3.055 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003574/0.2577, allocations: 2.034 MB / 344.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2577, allocations: 8.031 kB / 344.9 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.2584, allocations: 253.4 kB / 345.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.2603, allocations: 1.196 MB / 346.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.2604, allocations: 135.5 kB / 346.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.2606, allocations: 168 kB / 346.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.2643, allocations: 2.524 MB / 349.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.2644, allocations: 0 / 349.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.2646, allocations: 83.92 kB / 349.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.36e-05/0.2647, allocations: 99.58 kB / 349.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.2679, allocations: 2.106 MB / 351.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.2784, allocations: 7.5 MB / 358.9 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.2799, allocations: 1.267 MB / 360.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.2801, allocations: 117.6 kB / 360.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2802, allocations: 43 kB / 360.4 MB, free: 1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.2802, allocations: 3.938 kB / 360.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.004028/0.2842, allocations: 2.285 MB / 362.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2843, allocations: 81.55 kB / 362.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.2863, allocations: 1.5 MB / 364.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.2863, allocations: 41.7 kB / 364.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.2871, allocations: 0.9788 MB / 365.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2873, allocations: 189.4 kB / 365.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.2873, allocations: 24 kB / 365.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2875, allocations: 361.9 kB / 365.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.2883, allocations: 454.3 kB / 366.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.2895, allocations: 1.094 MB / 367.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.2905, allocations: 0.6799 MB / 368 MB, free: 8.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.2905, allocations: 8 kB / 368 MB, free: 8.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002437/0.293, allocations: 1.687 MB / 369.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.293, allocations: 12 kB / 369.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.293, allocations: 27.94 kB / 369.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/0.2938, allocations: 185.1 kB / 369.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/0.2947, allocations: 283.5 kB / 370.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.2969, allocations: 2.178 MB / 372.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.2979, allocations: 87.67 kB / 372.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-05/0.298, allocations: 76.14 kB / 372.6 MB, free: 4.203 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.2991, allocations: 0.7079 MB / 373.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.2994, allocations: 134.4 kB / 373.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3008, allocations: 0.849 MB / 374.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.3008, allocations: 8.25 kB / 374.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3008, allocations: 0 / 374.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3008, allocations: 4 kB / 374.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.3044, allocations: 2.518 MB / 376.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3044, allocations: 7.938 kB / 376.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.3048, allocations: 99.88 kB / 376.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006462/0.3055, allocations: 160.9 kB / 377 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3056, allocations: 16 kB / 377.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.3076, allocations: 2.115 MB / 379.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3076, allocations: 3.984 kB / 379.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.3095, allocations: 1.48 MB / 380.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.31, allocations: 287.4 kB / 380.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3102, allocations: 12 kB / 381 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.3108, allocations: 56.03 kB / 381 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3109, allocations: 51.83 kB / 381.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.311, allocations: 19.98 kB / 381.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.3124, allocations: 1.028 MB / 382.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3124, allocations: 0 / 382.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001319/0.3137, allocations: 352.1 kB / 382.4 MB, free: 9.938 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/0.314, allocations: 153.9 kB / 382.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.3159, allocations: 1.156 MB / 383.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3159, allocations: 0 / 383.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.3167, allocations: 0.5278 MB / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3179, allocations: 348.8 kB / 384.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.3228, allocations: 3.76 MB / 388.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.3241, allocations: 1.737 MB / 390.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008972/0.325, allocations: 319.3 kB / 390.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.3252, allocations: 99.36 kB / 390.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3253, allocations: 0 / 390.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of Templates: time 0.03089/0.3561, allocations: 17.11 MB / 407.6 MB, free: 0.5742 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) Environment - environmentSimulation: