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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.0008145/0.0008146, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.345/1.345, allocations: 223.3 MB / 239 MB, free: 5.645 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.001037/0.001037, allocations: 184.5 kB / 290.3 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03304/0.03304, allocations: 8.777 MB / 350.1 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 10.88 kB / 413.3 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 52.56 MB / 465.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01667/0.1238, allocations: 16.29 MB / 482.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1343, allocations: 4.596 MB / 486.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.1378, allocations: 139.6 kB / 486.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.141, allocations: 0.9243 MB / 487.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006489/0.1475, allocations: 1.822 MB / 489.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.1509, allocations: 1.237 MB / 490.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.165, allocations: 11.76 MB / 0.4908 GB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04212/0.2072, allocations: 20.94 MB / 0.5113 GB, free: 3.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008282/0.2155, allocations: 4.377 MB / 0.5156 GB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00984/0.2254, allocations: 4.903 MB / 0.5203 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.2284, allocations: 0.6641 MB / 0.521 GB, free: 9.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.2336, allocations: 0.9333 MB / 0.5219 GB, free: 8.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.2376, allocations: 2.048 MB / 0.5239 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004951/0.2425, allocations: 2.118 MB / 0.526 GB, free: 4.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2439/0.4865, allocations: 18.45 MB / 0.544 GB, free: 24.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4865, allocations: 1.281 kB / 0.544 GB, free: 24.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4865, allocations: 3.906 kB / 0.544 GB, free: 24.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007225/0.4873, allocations: 1.781 kB / 0.544 GB, free: 24.73 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.03601/0.5233, allocations: 11.54 MB / 0.5553 GB, free: 19.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.5234, allocations: 9.438 kB / 0.5553 GB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008513/0.5319, allocations: 1.569 MB / 0.5568 GB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04161/0.5735, allocations: 7.886 MB / 0.5645 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.5922, allocations: 6.503 MB / 0.5709 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/0.5933, allocations: 0.8147 MB / 0.5717 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005765/0.5991, allocations: 1.06 MB / 0.5727 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05179/0.6509, allocations: 17.72 MB / 0.59 GB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006267/0.6515, allocations: 14.44 kB / 0.59 GB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004784/0.6563, allocations: 456.1 kB / 0.5904 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000616/0.657, allocations: 0.5757 MB / 0.591 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03714/0.6941, allocations: 16.15 MB / 0.6068 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/0.8038, allocations: 53.42 MB / 0.6589 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/0.8228, allocations: 15.8 MB / 0.6744 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006835/0.8297, allocations: 3.794 MB / 0.6781 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006649/0.8304, allocations: 198.7 kB / 0.6783 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.8305, allocations: 86.98 kB / 0.6783 GB, free: 11.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 1.007e-05/0.8305, allocations: 0 / 0.6783 GB, free: 11.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=504): time 0.02812/0.8586, allocations: 11.53 MB / 0.6896 GB, free: 15.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8588, allocations: 129.5 kB / 0.6897 GB, free: 15.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/0.8665, allocations: 3.477 MB / 0.6931 GB, free: 12.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/0.8675, allocations: 105.7 kB / 0.6932 GB, free: 12.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/0.871, allocations: 4.305 MB / 0.6974 GB, free: 7.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002601/0.8736, allocations: 1.717 MB / 0.6991 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.8748, allocations: 136 kB / 0.6992 GB, free: 6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006617/0.8754, allocations: 0.5872 MB / 0.6998 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007581/0.883, allocations: 3.324 MB / 0.7031 GB, free: 2.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2493/1.132, allocations: 5.659 MB / 0.7086 GB, free: 151.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008798/1.141, allocations: 4.629 MB / 0.7131 GB, free: 151.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.141, allocations: 25.72 kB / 0.7131 GB, free: 151.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01829/1.16, allocations: 10.35 MB / 0.7232 GB, free: 147.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/1.16, allocations: 43.11 kB / 0.7233 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/1.16, allocations: 73.72 kB / 0.7234 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/1.163, allocations: 1.088 MB / 0.7244 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005306/1.168, allocations: 1.518 MB / 0.7259 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/1.18, allocations: 12.47 MB / 0.7381 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/1.186, allocations: 0.8492 MB / 0.7389 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.188, allocations: 322.9 kB / 0.7392 GB, free: 138.8 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.01055/1.199, allocations: 4.111 MB / 0.7432 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.201, allocations: 402.1 kB / 0.7436 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/1.217, allocations: 7.996 MB / 0.7514 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01072/1.228, allocations: 6.61 MB / 0.7579 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/1.228, allocations: 15.62 kB / 0.7579 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/1.228, allocations: 25.83 kB / 0.7579 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/1.267, allocations: 17.91 MB / 0.7754 GB, free: 107.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.685e-05/1.267, allocations: 16 kB / 0.7754 GB, free: 107.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.271, allocations: 0.9478 MB / 0.7763 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/1.274, allocations: 0.9663 MB / 0.7773 GB, free: 105.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000958/1.275, allocations: 128 kB / 0.7774 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.287, allocations: 12.19 MB / 0.7893 GB, free: 92.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.287, allocations: 23.88 kB / 0.7893 GB, free: 92.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/1.307, allocations: 12.32 MB / 0.8014 GB, free: 79.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.311, allocations: 1.139 MB / 0.8025 GB, free: 78.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001759/1.313, allocations: 116.1 kB / 0.8026 GB, free: 78.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/1.316, allocations: 319.7 kB / 0.8029 GB, free: 77.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/1.318, allocations: 399.7 kB / 0.8033 GB, free: 77.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007535/1.318, allocations: 172 kB / 0.8034 GB, free: 77.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004789/1.323, allocations: 2.335 MB / 0.8057 GB, free: 75.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/1.323, allocations: 4.109 kB / 0.8057 GB, free: 75.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01108/1.334, allocations: 2.648 MB / 0.8083 GB, free: 72.41 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.01956/1.354, allocations: 13.08 MB / 0.8211 GB, free: 58.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01408/1.368, allocations: 8.715 MB / 0.8296 GB, free: 49.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.368, allocations: 4 kB / 0.8296 GB, free: 49.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007/1.375, allocations: 4.324 MB / 0.8338 GB, free: 45.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00698/1.382, allocations: 0.9082 MB / 0.8347 GB, free: 44.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09852/1.481, allocations: 50.55 MB / 0.8841 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01292/1.494, allocations: 7.011 MB / 0.8909 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.2347/1.728, allocations: 2.54 MB / 0.8934 GB, free: 163.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006763/1.735, allocations: 3.645 MB / 0.897 GB, free: 163.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/1.735, allocations: 0 / 0.897 GB, free: 163.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1804/1.916, allocations: 128.9 MB / 1.023 GB, free: 58.79 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.916, allocations: 205.5 kB / 1.023 GB, free: 58.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.254/6.17, allocations: 5.578 kB / 1.023 GB, free: 58.54 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/linux/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) Environment - environmentSimulation: