Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008035, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.0008681/0.0008682, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.465/1.465, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004793/0.0004796, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08834, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005869/0.09426, allocations: 5.359 MB / 333.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.09825, allocations: 1.866 MB / 335.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.09926, allocations: 20 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1004, allocations: 278.9 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.1028, allocations: 0.7469 MB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.1036, allocations: 255.6 kB / 336.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1049, allocations: 0.8599 MB / 337.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.1081, allocations: 1.684 MB / 339.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.1087, allocations: 322.5 kB / 339.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.1096, allocations: 485.9 kB / 340.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.1098, allocations: 40 kB / 340.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.1104, allocations: 199.8 kB / 340.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1106, allocations: 159.2 kB / 340.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.1111, allocations: 435.4 kB / 341 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1125, allocations: 1.16 MB / 342.1 MB, free: 5.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1125, allocations: 0 / 342.1 MB, free: 5.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1125, allocations: 4 kB / 342.2 MB, free: 5.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1126, allocations: 0 / 342.2 MB, free: 5.816 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003046/0.1156, allocations: 1.249 MB / 343.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1157, allocations: 8.031 kB / 343.4 MB, free: 4.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/0.1225, allocations: 0.9677 MB / 344.4 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.1232, allocations: 455 kB / 344.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.1233, allocations: 82.55 kB / 344.9 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.1235, allocations: 104.4 kB / 345 MB, free: 2.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.1254, allocations: 1.145 MB / 346.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.1254, allocations: 3.906 kB / 346.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.1255, allocations: 44 kB / 346.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1256, allocations: 28 kB / 346.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.1274, allocations: 1.14 MB / 347.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.1328, allocations: 3.964 MB / 351.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.1361, allocations: 3.763 MB / 355.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.1366, allocations: 328.6 kB / 355.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.1368, allocations: 97.64 kB / 355.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1368, allocations: 50.94 kB / 355.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.504e-06/0.1368, allocations: 0 / 355.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001414/0.1382, allocations: 0.772 MB / 356.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1383, allocations: 115.4 kB / 356.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1386, allocations: 320.3 kB / 356.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.1387, allocations: 37.77 kB / 356.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.139, allocations: 449.9 kB / 357.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1391, allocations: 240.5 kB / 357.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1393, allocations: 77.67 kB / 357.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1394, allocations: 358.8 kB / 357.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.1399, allocations: 249.9 kB / 358.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.1406, allocations: 0.5708 MB / 358.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.1418, allocations: 0.8832 MB / 359.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1418, allocations: 4 kB / 359.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001449/0.1433, allocations: 0.9071 MB / 360.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1433, allocations: 15.94 kB / 360.5 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1433, allocations: 8 kB / 360.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.1433, allocations: 19.98 kB / 360.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.1441, allocations: 239.6 kB / 360.8 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.1442, allocations: 27.86 kB / 360.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1446, allocations: 99.22 kB / 360.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.1447, allocations: 47.98 kB / 360.9 MB, free: 1.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003033/0.145, allocations: 241.5 kB / 361.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1451, allocations: 51.38 kB / 361.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.1463, allocations: 0.694 MB / 361.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.1464, allocations: 12 kB / 361.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1464, allocations: 0 / 361.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1464, allocations: 3.984 kB / 361.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.1487, allocations: 1.602 MB / 363.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1487, allocations: 7.938 kB / 363.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.1493, allocations: 147.8 kB / 363.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1493, allocations: 4 kB / 363.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1493, allocations: 20 kB / 363.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1494, allocations: 0 / 363.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1494, allocations: 8 kB / 363.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.1509, allocations: 1.177 MB / 364.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.151, allocations: 140.2 kB / 365 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1511, allocations: 16 kB / 365.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.1514, allocations: 24 kB / 365.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.1515, allocations: 48.58 kB / 365.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.1516, allocations: 24.06 kB / 365.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1518, allocations: 211.1 kB / 365.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1518, allocations: 0 / 365.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007632/0.1526, allocations: 239.1 kB / 365.6 MB, free: 12.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.0002295/0.1528, allocations: 159 kB / 365.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1539, allocations: 0.6986 MB / 366.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.154, allocations: 0 / 366.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.1545, allocations: 332.1 kB / 366.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.1551, allocations: 49.03 kB / 366.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1575, allocations: 1.856 MB / 368.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.158, allocations: 0.9205 MB / 369.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.1584, allocations: 100.8 kB / 369.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1586, allocations: 55.42 kB / 369.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1586, allocations: 0 / 369.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Templates: time 0.009971/0.1686, allocations: 4.785 MB / 374.5 MB, free: 3.797 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)