Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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/Complex 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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0007652/0.0007652, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 180 kB / 16.92 MB, free: 6.922 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.259/1.259, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.644/0.644, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 77.54 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006572/0.138, allocations: 6.3 MB / 0.5662 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.1422, allocations: 3.001 MB / 0.5691 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.1427, allocations: 23.81 kB / 0.5692 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1431, allocations: 134.9 kB / 0.5693 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1442, allocations: 473.7 kB / 0.5697 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.1452, allocations: 398.6 kB / 0.5701 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1467, allocations: 1.587 MB / 0.5717 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.1483, allocations: 1.008 MB / 0.5727 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.1489, allocations: 390.3 kB / 0.573 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.1496, allocations: 0.4902 MB / 0.5735 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.1497, allocations: 32 kB / 0.5735 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.1504, allocations: 447.1 kB / 0.574 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.1507, allocations: 267.2 kB / 0.5742 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.151, allocations: 435.4 kB / 0.5746 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009923/0.152, allocations: 1.179 MB / 0.5758 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.152, allocations: 0 / 0.5758 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.152, allocations: 4 kB / 0.5758 GB, free: 8.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1521, allocations: 0 / 0.5758 GB, free: 8.723 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001444/0.1535, allocations: 0.9973 MB / 0.5768 GB, free: 7.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1536, allocations: 8.031 kB / 0.5768 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1537, allocations: 122.7 kB / 0.5769 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.1551, allocations: 243.5 kB / 0.5771 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.1558, allocations: 0.5452 MB / 0.5777 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.1558, allocations: 49.67 kB / 0.5777 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.156, allocations: 68.3 kB / 0.5778 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1573, allocations: 1.093 MB / 0.5788 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1573, allocations: 7.938 kB / 0.5788 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.1574, allocations: 31.98 kB / 0.5789 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1575, allocations: 85.25 kB / 0.579 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1586, allocations: 0.7504 MB / 0.5797 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2252/0.3838, allocations: 5.884 MB / 0.5854 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.3847, allocations: 0.5514 MB / 0.586 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.3852, allocations: 331.5 kB / 0.5863 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3853, allocations: 4.469 kB / 0.5863 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3853, allocations: 36.67 kB / 0.5863 GB, free: 27.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.3853, allocations: 0 / 0.5863 GB, free: 27.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.00373/0.389, allocations: 2.002 MB / 0.5883 GB, free: 26.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.3891, allocations: 57.91 kB / 0.5883 GB, free: 26.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.3897, allocations: 0.5528 MB / 0.5889 GB, free: 26.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3897, allocations: 34.05 kB / 0.5889 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3899, allocations: 416.3 kB / 0.5893 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.39, allocations: 167.3 kB / 0.5895 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.3901, allocations: 61.56 kB / 0.5895 GB, free: 26.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.3902, allocations: 381.9 kB / 0.5899 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.3906, allocations: 270.4 kB / 0.5901 GB, free: 25.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.3911, allocations: 497.6 kB / 0.5906 GB, free: 25.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.392, allocations: 0.8132 MB / 0.5914 GB, free: 24.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.392, allocations: 1.656 kB / 0.5914 GB, free: 24.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001645/0.3937, allocations: 1.088 MB / 0.5925 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3937, allocations: 8.375 kB / 0.5925 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3937, allocations: 7.953 kB / 0.5925 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/0.3945, allocations: 281.5 kB / 0.5928 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.395, allocations: 125.3 kB / 0.5929 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.3997, allocations: 6.599 MB / 0.5993 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.4002, allocations: 40.45 kB / 0.5994 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.4003, allocations: 27.78 kB / 0.5994 GB, free: 18.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.4006, allocations: 254.5 kB / 0.5996 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4007, allocations: 72.72 kB / 0.5997 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.4022, allocations: 0.8922 MB / 0.6006 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4022, allocations: 4.375 kB / 0.6006 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4022, allocations: 8.016 kB / 0.6006 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4023, allocations: 2.703 kB / 0.6006 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.4047, allocations: 1.734 MB / 0.6023 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4047, allocations: 2.312 kB / 0.6023 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.405, allocations: 60.92 kB / 0.6023 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007058/0.4057, allocations: 268.5 kB / 0.6026 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.4058, allocations: 13.48 kB / 0.6026 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.4105, allocations: 6.589 MB / 0.609 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4105, allocations: 3.266 kB / 0.609 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4118, allocations: 0.9866 MB / 0.61 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.4121, allocations: 198.5 kB / 0.6102 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.4121, allocations: 8.406 kB / 0.6102 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.4125, allocations: 30.22 kB / 0.6102 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.4126, allocations: 36.72 kB / 0.6103 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.4126, allocations: 15.66 kB / 0.6103 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003746/0.413, allocations: 389.1 kB / 0.6107 GB, free: 10.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.413, allocations: 0.9688 kB / 0.6107 GB, free: 10.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007291/0.4138, allocations: 224.5 kB / 0.6109 GB, free: 10.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.4152, allocations: 1.551 MB / 0.6124 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.4169, allocations: 1.271 MB / 0.6136 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4169, allocations: 4.125 kB / 0.6136 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.418, allocations: 0.8917 MB / 0.6145 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.419, allocations: 201.8 kB / 0.6147 GB, free: 7.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/0.4264, allocations: 6.81 MB / 0.6213 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4269, allocations: 1.006 MB / 0.6223 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000398/0.4273, allocations: 119.4 kB / 0.6224 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.4275, allocations: 251.8 kB / 0.6227 GB, free: 2.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4275, allocations: 0 / 0.6227 GB, free: 2.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4114/0.839, allocations: 16.31 MB / 0.6386 GB, free: 6.918 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.8392, allocations: 231.2 kB / 0.6388 GB, free: 6.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.051, allocations: 0 / 0.6388 GB, free: 6.656 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)