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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03685/0.03685, allocations: 8.794 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 251.3 MB, free: 7.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 101.1 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 366 MB, free: 184 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2149, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01256/0.2275, allocations: 18.58 MB / 436.1 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.2377, allocations: 4.996 MB / 441.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.2428, allocations: 151.5 kB / 441.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01727/0.2602, allocations: 7.805 MB / 449.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008486/0.2687, allocations: 1.958 MB / 451 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004795/0.2736, allocations: 1.503 MB / 452.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.2866, allocations: 10.96 MB / 463.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03484/0.3215, allocations: 21.27 MB / 484.7 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00992/0.3314, allocations: 5.398 MB / 490.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.3417, allocations: 6.591 MB / 496.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003978/0.3457, allocations: 1.195 MB / 497.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005937/0.3517, allocations: 1.472 MB / 499.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2014/0.5532, allocations: 2.848 MB / 0.4905 GB, free: 29.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.5668, allocations: 5.927 MB / 0.4963 GB, free: 28.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0235/0.5903, allocations: 21.5 MB / 0.5173 GB, free: 21.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.5904, allocations: 0.8438 kB / 0.5173 GB, free: 21.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.5904, allocations: 0 / 0.5173 GB, free: 21.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009668/0.5914, allocations: 3.219 kB / 0.5173 GB, free: 21.91 MB / 362.7 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.04291/0.6343, allocations: 13.84 MB / 0.5308 GB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6343, allocations: 7.406 kB / 0.5308 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03842/0.6728, allocations: 7.854 MB / 0.5385 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.6866, allocations: 6.558 MB / 0.5449 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005471/0.6872, allocations: 0.8097 MB / 0.5457 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004653/0.6918, allocations: 1.06 MB / 0.5467 GB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05049/0.7423, allocations: 17.81 MB / 0.5641 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004601/0.7428, allocations: 11.91 kB / 0.5641 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005079/0.7479, allocations: 450.7 kB / 0.5645 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006774/0.7486, allocations: 0.5773 MB / 0.5651 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03706/0.7857, allocations: 16.25 MB / 0.581 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09907/0.8848, allocations: 53.31 MB / 0.633 GB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/0.9026, allocations: 15.83 MB / 0.6485 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006398/0.9091, allocations: 3.823 MB / 0.6522 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/0.9098, allocations: 194.2 kB / 0.6524 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.9099, allocations: 94.97 kB / 0.6525 GB, free: 2.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=504): time 1.053e-05/0.9099, allocations: 0 / 0.6525 GB, free: 2.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=504): time 0.02659/0.9365, allocations: 10.85 MB / 0.6631 GB, free: 7.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.9367, allocations: 129.5 kB / 0.6632 GB, free: 7.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008021/0.9447, allocations: 3.497 MB / 0.6666 GB, free: 4.336 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00111/0.9458, allocations: 105.7 kB / 0.6667 GB, free: 4.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2362/1.182, allocations: 4.313 MB / 0.6709 GB, free: 166.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.184, allocations: 1.708 MB / 0.6726 GB, free: 165.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002591/1.187, allocations: 1.316 MB / 0.6739 GB, free: 165.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/1.187, allocations: 304.1 kB / 0.6742 GB, free: 165.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.192, allocations: 3.346 MB / 0.6775 GB, free: 165.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.197, allocations: 5.692 MB / 0.683 GB, free: 162.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009721/1.207, allocations: 9.671 MB / 0.6925 GB, free: 156.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/1.207, allocations: 23.22 kB / 0.6925 GB, free: 156.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01549/1.222, allocations: 10.42 MB / 0.7027 GB, free: 152.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/1.223, allocations: 36.28 kB / 0.7027 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.223, allocations: 78.12 kB / 0.7028 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/1.225, allocations: 1.066 MB / 0.7038 GB, free: 152.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/1.23, allocations: 1.517 MB / 0.7053 GB, free: 151.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.242, allocations: 12.49 MB / 0.7175 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.247, allocations: 0.8539 MB / 0.7183 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009833/1.248, allocations: 319.7 kB / 0.7186 GB, free: 138.7 MB / 490.7 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.005837/1.253, allocations: 4.116 MB / 0.7226 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.254, allocations: 399 kB / 0.723 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.265, allocations: 8.013 MB / 0.7309 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007643/1.273, allocations: 6.645 MB / 0.7373 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/1.273, allocations: 12 kB / 0.7374 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/1.273, allocations: 26.11 kB / 0.7374 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/1.299, allocations: 17.94 MB / 0.7549 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.299, allocations: 18.28 kB / 0.7549 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/1.303, allocations: 0.9556 MB / 0.7558 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/1.306, allocations: 0.9733 MB / 0.7568 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005979/1.306, allocations: 127.2 kB / 0.7569 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.318, allocations: 12.2 MB / 0.7688 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.318, allocations: 20.03 kB / 0.7688 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.34, allocations: 19.43 MB / 0.7878 GB, free: 69.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.343, allocations: 1.131 MB / 0.7889 GB, free: 68.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/1.343, allocations: 116 kB / 0.789 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.345, allocations: 319.6 kB / 0.7893 GB, free: 67.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/1.346, allocations: 399.7 kB / 0.7897 GB, free: 67.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/1.346, allocations: 168 kB / 0.7899 GB, free: 67.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002657/1.349, allocations: 2.354 MB / 0.7922 GB, free: 64.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.349, allocations: 3.938 kB / 0.7922 GB, free: 64.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00654/1.356, allocations: 2.832 MB / 0.795 GB, free: 62.06 MB / 490.7 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.0006463/1.356, allocations: 316.5 kB / 0.7953 GB, free: 61.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.367, allocations: 8.741 MB / 0.8038 GB, free: 52.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.367, allocations: 0 / 0.8038 GB, free: 52.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004789/1.371, allocations: 4.346 MB / 0.808 GB, free: 48.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/1.376, allocations: 0.8951 MB / 0.8089 GB, free: 47.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/1.408, allocations: 26.71 MB / 0.835 GB, free: 20.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0072/1.415, allocations: 7.16 MB / 0.842 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006214/1.421, allocations: 2.542 MB / 0.8445 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.423, allocations: 383.3 kB / 0.8448 GB, free: 10.56 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/1.423, allocations: 0 / 0.8448 GB, free: 10.56 MB / 490.7 MB Notification: Performance of Templates: time 0.3363/1.759, allocations: 70.45 MB / 0.9136 GB, free: 110.2 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile (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)