Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 239.1 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 172.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03236/0.03236, allocations: 8.796 MB / 350.2 MB, free: 4.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006482, allocations: 9.125 kB / 413.2 MB, free: 42.94 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1117, allocations: 52.56 MB / 465.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01646/0.1282, allocations: 16.3 MB / 482.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1387, allocations: 4.604 MB / 486.7 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.1416, allocations: 139.6 kB / 486.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.1443, allocations: 0.9165 MB / 487.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.1502, allocations: 1.822 MB / 489.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.1535, allocations: 1.238 MB / 490.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01445/0.168, allocations: 11.75 MB / 0.4907 GB, free: 8.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04301/0.2111, allocations: 20.93 MB / 0.5112 GB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.2254, allocations: 4.381 MB / 0.5155 GB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/0.2394, allocations: 4.907 MB / 0.5203 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004596/0.2441, allocations: 0.6602 MB / 0.5209 GB, free: 9.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00807/0.2522, allocations: 0.9333 MB / 0.5218 GB, free: 8.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00628/0.2585, allocations: 2.048 MB / 0.5238 GB, free: 6.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007235/0.2658, allocations: 2.126 MB / 0.5259 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3099/0.5757, allocations: 18.45 MB / 0.5439 GB, free: 25.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.5758, allocations: 3.625 kB / 0.5439 GB, free: 25.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.5758, allocations: 0.75 kB / 0.5439 GB, free: 25.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001044/0.5769, allocations: 0 / 0.5439 GB, free: 25.1 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.04012/0.617, allocations: 11.54 MB / 0.5552 GB, free: 19.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.363e-05/0.6171, allocations: 12.92 kB / 0.5552 GB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04219/0.6593, allocations: 7.891 MB / 0.5629 GB, free: 16.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.6758, allocations: 6.495 MB / 0.5692 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008253/0.6767, allocations: 0.812 MB / 0.57 GB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005669/0.6824, allocations: 1.067 MB / 0.5711 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04966/0.732, allocations: 17.71 MB / 0.5884 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005857/0.7327, allocations: 15.47 kB / 0.5884 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005305/0.738, allocations: 453.3 kB / 0.5888 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007494/0.7388, allocations: 0.5764 MB / 0.5894 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/0.7718, allocations: 16.15 MB / 0.6052 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09821/0.87, allocations: 53.42 MB / 0.6573 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.8877, allocations: 15.79 MB / 0.6728 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006277/0.894, allocations: 3.806 MB / 0.6765 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/0.8946, allocations: 198.3 kB / 0.6767 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.8947, allocations: 82.98 kB / 0.6767 GB, free: 13.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 8.446e-06/0.8947, allocations: 0 / 0.6767 GB, free: 13.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=504): time 0.02675/0.9215, allocations: 11.52 MB / 0.688 GB, free: 1.598 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.9216, allocations: 129.5 kB / 0.6881 GB, free: 1.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006741/0.9284, allocations: 3.482 MB / 0.6915 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/0.9296, allocations: 105.7 kB / 0.6916 GB, free: 13.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003803/0.9334, allocations: 4.309 MB / 0.6958 GB, free: 9.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003793/0.9372, allocations: 1.705 MB / 0.6975 GB, free: 7.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/0.9378, allocations: 136 kB / 0.6976 GB, free: 7.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004745/0.9383, allocations: 0.5872 MB / 0.6982 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/0.9442, allocations: 3.324 MB / 0.7014 GB, free: 3.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3044/1.249, allocations: 5.661 MB / 0.707 GB, free: 151 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/1.258, allocations: 4.629 MB / 0.7115 GB, free: 150.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/1.259, allocations: 22.09 kB / 0.7115 GB, free: 150.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02014/1.279, allocations: 10.36 MB / 0.7216 GB, free: 147.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/1.279, allocations: 39.11 kB / 0.7217 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/1.279, allocations: 78.69 kB / 0.7217 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/1.282, allocations: 1.084 MB / 0.7228 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/1.288, allocations: 1.513 MB / 0.7243 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.301, allocations: 12.48 MB / 0.7365 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/1.306, allocations: 0.854 MB / 0.7373 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.307, allocations: 317.2 kB / 0.7376 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (796): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008498/1.316, allocations: 4.109 MB / 0.7416 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.317, allocations: 401.6 kB / 0.742 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.329, allocations: 8.002 MB / 0.7498 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008257/1.337, allocations: 6.61 MB / 0.7563 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/1.337, allocations: 12 kB / 0.7563 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.337, allocations: 29.34 kB / 0.7563 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.366, allocations: 17.9 MB / 0.7738 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.366, allocations: 16.03 kB / 0.7738 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/1.369, allocations: 0.9451 MB / 0.7747 GB, free: 107.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/1.371, allocations: 0.9736 MB / 0.7757 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.371, allocations: 128 kB / 0.7758 GB, free: 106.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.383, allocations: 12.2 MB / 0.7877 GB, free: 93.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.383, allocations: 23.88 kB / 0.7877 GB, free: 93.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/1.398, allocations: 12.32 MB / 0.7998 GB, free: 80.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.4, allocations: 1.139 MB / 0.8009 GB, free: 79.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/1.401, allocations: 112 kB / 0.801 GB, free: 79.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.403, allocations: 323.7 kB / 0.8013 GB, free: 79.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.404, allocations: 395.7 kB / 0.8017 GB, free: 78.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.404, allocations: 168 kB / 0.8018 GB, free: 78.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003403/1.407, allocations: 2.341 MB / 0.8041 GB, free: 76.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.407, allocations: 0 / 0.8041 GB, free: 76.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008135/1.416, allocations: 2.648 MB / 0.8067 GB, free: 73.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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 (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009219/1.416, allocations: 314 kB / 0.807 GB, free: 73.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.429, allocations: 8.713 MB / 0.8155 GB, free: 64.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/1.429, allocations: 7.938 kB / 0.8155 GB, free: 64.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005796/1.434, allocations: 4.327 MB / 0.8197 GB, free: 60.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/1.44, allocations: 0.9026 MB / 0.8206 GB, free: 59.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/1.476, allocations: 22.76 MB / 0.8428 GB, free: 36.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008282/1.484, allocations: 7.019 MB / 0.8497 GB, free: 29.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006825/1.491, allocations: 2.534 MB / 0.8522 GB, free: 26.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.492, allocations: 379.4 kB / 0.8525 GB, free: 26.48 MB / 478.1 MB Notification: Performance of SimCode: time 1.443e-06/1.492, allocations: 0 / 0.8525 GB, free: 26.48 MB / 478.1 MB Notification: Performance of Templates: time 0.3939/1.886, allocations: 65.77 MB / 0.9168 GB, free: 155 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) Environment - environmentSimulation: