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.001166/0.001166, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.339/1.339, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001293/0.001293, allocations: 184.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03577/0.03577, allocations: 8.802 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 80.2 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09298, allocations: 51.56 MB / 0.5041 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01852/0.1115, allocations: 18.92 MB / 0.5226 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.121, allocations: 5.023 MB / 0.5275 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.124, allocations: 155.6 kB / 0.5276 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.208/0.332, allocations: 8.24 MB / 0.5357 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006695/0.3387, allocations: 2.171 MB / 0.5378 GB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.3425, allocations: 1.582 MB / 0.5393 GB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01258/0.3551, allocations: 10.77 MB / 0.5498 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03355/0.3887, allocations: 25.32 MB / 0.5746 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009106/0.3978, allocations: 6.064 MB / 0.5805 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009998/0.4078, allocations: 6.776 MB / 0.5871 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00365/0.4115, allocations: 1.625 MB / 0.5887 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/0.4173, allocations: 1.907 MB / 0.5906 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004304/0.4216, allocations: 3.303 MB / 0.5938 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01088/0.4325, allocations: 6.388 MB / 0.6 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02249/0.455, allocations: 21.96 MB / 0.6215 GB, free: 5.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.455, allocations: 4 kB / 0.6215 GB, free: 5.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.455, allocations: 0 / 0.6215 GB, free: 5.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000514/0.4556, allocations: 0 / 0.6215 GB, free: 5.863 MB / 430.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.03801/0.4936, allocations: 14.02 MB / 0.6352 GB, free: 7.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4936, allocations: 8.031 kB / 0.6352 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04254/0.5362, allocations: 7.935 MB / 0.6429 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5502, allocations: 6.775 MB / 0.6495 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008871/0.5511, allocations: 0.8037 MB / 0.6503 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004423/0.5555, allocations: 1.07 MB / 0.6514 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04273/0.5983, allocations: 17.76 MB / 0.6687 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004587/0.5988, allocations: 15.95 kB / 0.6687 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003063/0.6019, allocations: 451.7 kB / 0.6692 GB, free: 5.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005959/0.6025, allocations: 0.5735 MB / 0.6697 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03276/0.6352, allocations: 16.21 MB / 0.6856 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4774/1.113, allocations: 52.84 MB / 0.7371 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/1.126, allocations: 15.75 MB / 0.7525 GB, free: 135 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0053/1.132, allocations: 3.764 MB / 0.7562 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/1.132, allocations: 192.6 kB / 0.7564 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/1.132, allocations: 82.64 kB / 0.7565 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=492): time 7.935e-06/1.132, allocations: 4.469 kB / 0.7565 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=492): time 0.01947/1.152, allocations: 10.64 MB / 0.7669 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.152, allocations: 128.9 kB / 0.767 GB, free: 134 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004253/1.156, allocations: 3.504 MB / 0.7704 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003082/1.156, allocations: 104.8 kB / 0.7705 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.158, allocations: 4.492 MB / 0.7749 GB, free: 132 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009112/1.159, allocations: 1.755 MB / 0.7766 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/1.161, allocations: 1.31 MB / 0.7779 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/1.161, allocations: 305.1 kB / 0.7782 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/1.164, allocations: 3.271 MB / 0.7814 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/1.169, allocations: 5.612 MB / 0.7868 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008152/1.177, allocations: 9.511 MB / 0.7961 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-05/1.177, allocations: 22.59 kB / 0.7962 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01303/1.19, allocations: 10.28 MB / 0.8062 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/1.19, allocations: 38.31 kB / 0.8062 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.507e-05/1.19, allocations: 73.56 kB / 0.8063 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/1.193, allocations: 1.095 MB / 0.8074 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/1.197, allocations: 1.517 MB / 0.8089 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.209, allocations: 13.62 MB / 0.8222 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.213, allocations: 0.8728 MB / 0.823 GB, free: 104 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008134/1.214, allocations: 320 kB / 0.8233 GB, free: 103.7 MB / 0.5294 GB 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005778/1.22, allocations: 4.11 MB / 0.8273 GB, free: 99.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/1.221, allocations: 413.3 kB / 0.8277 GB, free: 99.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009784/1.231, allocations: 7.86 MB / 0.8354 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/1.231, allocations: 27.89 kB / 0.8354 GB, free: 91.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.231, allocations: 0 / 0.8354 GB, free: 91.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.232, allocations: 1.098 MB / 0.8365 GB, free: 90.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/1.233, allocations: 84 kB / 0.8366 GB, free: 90.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.235, allocations: 306.4 kB / 0.8369 GB, free: 89.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005413/1.235, allocations: 356 kB / 0.8372 GB, free: 89.41 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009835/1.245, allocations: 7.534 MB / 0.8446 GB, free: 81.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00985/1.255, allocations: 9.533 MB / 0.8539 GB, free: 72.25 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002905/1.258, allocations: 2.913 MB / 0.8567 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002865/1.261, allocations: 2.358 MB / 0.859 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of Backend: time 4.81e-07/1.261, allocations: 4 kB / 0.859 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.27, allocations: 6.229 MB / 0.8651 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02728/1.298, allocations: 17.48 MB / 0.8822 GB, free: 43.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.3397/1.637, allocations: 81.14 MB / 0.9614 GB, free: 162.7 MB / 0.545 GB 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)