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: "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.299/1.299, allocations: 222.9 MB / 239 MB, free: 4.762 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.00123/0.00123, allocations: 196.4 kB / 289.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03471/0.03471, allocations: 8.776 MB / 348.2 MB, free: 4.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.45 kB / 410.7 MB, free: 42.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07313/0.07456, allocations: 51.57 MB / 462.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01743/0.09202, allocations: 18.57 MB / 480.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1025, allocations: 4.977 MB / 485.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1058, allocations: 147.6 kB / 485.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01671/0.1226, allocations: 7.793 MB / 493.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.1294, allocations: 1.961 MB / 495.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.1333, allocations: 1.472 MB / 497.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.1447, allocations: 10.67 MB / 0.4959 GB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03782/0.1826, allocations: 29.37 MB / 0.5246 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1738/0.3564, allocations: 6.122 MB / 0.5306 GB, free: 27.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.3667, allocations: 6.852 MB / 0.5373 GB, free: 26.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006201/0.373, allocations: 1.622 MB / 0.5389 GB, free: 26.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009374/0.3824, allocations: 1.917 MB / 0.5408 GB, free: 26.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00719/0.3896, allocations: 3.313 MB / 0.544 GB, free: 26.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.4022, allocations: 6.398 MB / 0.5502 GB, free: 25.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.4213, allocations: 21.8 MB / 0.5715 GB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4214, allocations: 0.6875 kB / 0.5715 GB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4214, allocations: 0.9375 kB / 0.5715 GB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006433/0.422, allocations: 0 / 0.5715 GB, free: 13.71 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.03666/0.4587, allocations: 13.84 MB / 0.585 GB, free: 5.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4588, allocations: 10.5 kB / 0.5851 GB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00518/0.4639, allocations: 1.569 MB / 0.5866 GB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04283/0.5068, allocations: 7.856 MB / 0.5943 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.5198, allocations: 6.555 MB / 0.6007 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/0.5205, allocations: 0.8089 MB / 0.6015 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003845/0.5244, allocations: 1.065 MB / 0.6025 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04225/0.5666, allocations: 17.8 MB / 0.6199 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003795/0.5671, allocations: 15.89 kB / 0.6199 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/0.5698, allocations: 453.8 kB / 0.6203 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005804/0.5704, allocations: 0.5774 MB / 0.6209 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03082/0.6012, allocations: 16.25 MB / 0.6368 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08451/0.6858, allocations: 53.3 MB / 0.6888 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.183/0.8688, allocations: 15.83 MB / 0.7043 GB, free: 139.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005542/0.8744, allocations: 3.828 MB / 0.708 GB, free: 139.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/0.8748, allocations: 195.8 kB / 0.7082 GB, free: 139.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.8749, allocations: 92.2 kB / 0.7083 GB, free: 139.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.154e-06/0.8749, allocations: 0 / 0.7083 GB, free: 139.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.02104/0.8959, allocations: 10.84 MB / 0.7189 GB, free: 138.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.896, allocations: 141.6 kB / 0.719 GB, free: 138.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004472/0.9005, allocations: 3.492 MB / 0.7224 GB, free: 137.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006069/0.9011, allocations: 108 kB / 0.7225 GB, free: 137.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.903, allocations: 4.322 MB / 0.7267 GB, free: 134.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001378/0.9044, allocations: 1.704 MB / 0.7284 GB, free: 133.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/0.9062, allocations: 1.317 MB / 0.7297 GB, free: 132.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.9063, allocations: 301.1 kB / 0.73 GB, free: 132.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/0.9106, allocations: 3.352 MB / 0.7332 GB, free: 131.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/0.9151, allocations: 5.688 MB / 0.7388 GB, free: 127.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008893/0.924, allocations: 9.663 MB / 0.7482 GB, free: 121.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-05/0.9241, allocations: 23 kB / 0.7483 GB, free: 121.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01484/0.9389, allocations: 10.42 MB / 0.7584 GB, free: 116.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.939, allocations: 38.03 kB / 0.7585 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.9392, allocations: 75.94 kB / 0.7585 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.9419, allocations: 1.087 MB / 0.7596 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/0.9468, allocations: 1.517 MB / 0.7611 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.9598, allocations: 13.56 MB / 0.7743 GB, free: 101.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/0.9649, allocations: 0.8556 MB / 0.7752 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.9661, allocations: 324 kB / 0.7755 GB, free: 100.2 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006929/0.973, allocations: 4.113 MB / 0.7795 GB, free: 96.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.9742, allocations: 399.8 kB / 0.7799 GB, free: 95.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.9873, allocations: 8.015 MB / 0.7877 GB, free: 87.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008872/0.9962, allocations: 6.644 MB / 0.7942 GB, free: 80.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-05/0.9963, allocations: 12 kB / 0.7942 GB, free: 80.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-05/0.9964, allocations: 23.91 kB / 0.7942 GB, free: 80.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03293/1.029, allocations: 17.93 MB / 0.8117 GB, free: 62.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/1.029, allocations: 17.72 kB / 0.8117 GB, free: 62.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003738/1.033, allocations: 0.9478 MB / 0.8127 GB, free: 61.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.036, allocations: 0.977 MB / 0.8136 GB, free: 60.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007982/1.037, allocations: 132 kB / 0.8138 GB, free: 60.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.049, allocations: 13.29 MB / 0.8267 GB, free: 46.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/1.049, allocations: 25.19 kB / 0.8268 GB, free: 46.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.067, allocations: 12.37 MB / 0.8388 GB, free: 33.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.07, allocations: 1.133 MB / 0.8399 GB, free: 32.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.071, allocations: 120 kB / 0.8401 GB, free: 32.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/1.075, allocations: 315.7 kB / 0.8404 GB, free: 32.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/1.076, allocations: 407.7 kB / 0.8408 GB, free: 31.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005699/1.076, allocations: 164 kB / 0.8409 GB, free: 31.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004043/1.08, allocations: 2.358 MB / 0.8432 GB, free: 29.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.08, allocations: 0 / 0.8432 GB, free: 29.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008411/1.089, allocations: 2.656 MB / 0.8458 GB, free: 26.73 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01824/1.107, allocations: 13.15 MB / 0.8586 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02715/1.134, allocations: 15.31 MB / 0.8736 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.401e-05/1.134, allocations: 0 / 0.8736 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00855/1.143, allocations: 4.342 MB / 0.8778 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007197/1.15, allocations: 0.9494 MB / 0.8788 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2732/1.423, allocations: 71.65 MB / 0.9487 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/1.435, allocations: 7.024 MB / 0.9556 GB, free: 126.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007159/1.442, allocations: 2.537 MB / 0.9581 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006319/1.448, allocations: 3.651 MB / 0.9616 GB, free: 119.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.449, allocations: 4 kB / 0.9616 GB, free: 119.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3434/1.792, allocations: 134.9 MB / 1.093 GB, free: 138.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.792, allocations: 217.2 kB / 1.094 GB, free: 138.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.482/6.274, allocations: 3.5 kB / 1.094 GB, free: 138.1 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_EquivalentCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1)