Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9719/0.9719, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8009/0.8009, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009368/0.0009368, allocations: 70.22 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5027, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02519/0.5278, allocations: 31.52 MB / 0.8482 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.5414, allocations: 10.28 MB / 0.8582 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.5431, allocations: 193.2 kB / 0.8584 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.5476, allocations: 3.739 MB / 0.8621 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.5507, allocations: 1.949 MB / 0.864 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.554, allocations: 2.139 MB / 0.866 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006026/0.56, allocations: 7.327 MB / 0.8732 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00511/0.5651, allocations: 5.103 MB / 0.8782 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.5692, allocations: 3.295 MB / 0.8814 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.5719, allocations: 3.446 MB / 0.8848 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.5724, allocations: 0.6445 MB / 0.8854 GB, free: 228 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.5748, allocations: 1.658 MB / 0.887 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.5762, allocations: 2.611 MB / 0.8896 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.5779, allocations: 2.339 MB / 0.8918 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007311/0.5852, allocations: 10.18 MB / 0.9018 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5852, allocations: 0 / 0.9018 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5852, allocations: 0 / 0.9018 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001096/0.5853, allocations: 4 kB / 0.9018 GB, free: 15.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006055/0.5914, allocations: 5.044 MB / 0.9067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5914, allocations: 8.031 kB / 0.9067 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005844/0.592, allocations: 0.682 MB / 0.9074 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.5951, allocations: 0.9735 MB / 0.9083 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.5983, allocations: 3.007 MB / 0.9113 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.5985, allocations: 353.7 kB / 0.9116 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.5989, allocations: 464.2 kB / 0.9121 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.6063, allocations: 7.972 MB / 0.9198 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.811e-05/0.6064, allocations: 27.81 kB / 0.9199 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.6067, allocations: 208 kB / 0.9201 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.6069, allocations: 309 kB / 0.9204 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.6125, allocations: 5.702 MB / 0.9259 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.6285, allocations: 22.69 MB / 0.9481 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6301, allocations: 1.552 MB / 0.9496 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.6311, allocations: 1.12 MB / 0.9507 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.6311, allocations: 17.31 kB / 0.9507 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.6312, allocations: 43.88 kB / 0.9508 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 2.495e-06/0.6312, allocations: 0 / 0.9508 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.007581/0.6388, allocations: 6.214 MB / 0.9568 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.6388, allocations: 72.7 kB / 0.9569 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.64, allocations: 1.523 MB / 0.9584 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.6401, allocations: 45.7 kB / 0.9584 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/0.6409, allocations: 2.065 MB / 0.9604 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.6412, allocations: 0.5035 MB / 0.9609 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.6415, allocations: 351.3 kB / 0.9613 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.6415, allocations: 305.1 kB / 0.9616 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.6424, allocations: 0.9096 MB / 0.9625 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.6437, allocations: 1.593 MB / 0.964 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.6458, allocations: 2.737 MB / 0.9667 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.6458, allocations: 8 kB / 0.9667 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00353/0.6493, allocations: 3.511 MB / 0.9701 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6493, allocations: 12.97 kB / 0.9701 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.6493, allocations: 27.94 kB / 0.9702 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.6506, allocations: 0.9076 MB / 0.971 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.6512, allocations: 347.4 kB / 0.9714 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.6633, allocations: 21.73 MB / 0.9926 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.6641, allocations: 103.9 kB / 0.9927 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/0.6642, allocations: 87.98 kB / 0.9928 GB, free: 14.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001975/0.6661, allocations: 1.607 MB / 0.9943 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.6663, allocations: 214.6 kB / 0.9946 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.6694, allocations: 2.963 MB / 0.9974 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6694, allocations: 16 kB / 0.9975 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.6694, allocations: 8 kB / 0.9975 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6694, allocations: 7.969 kB / 0.9975 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007844/0.6773, allocations: 6.727 MB / 1.004 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6773, allocations: 16.02 kB / 1.004 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.6777, allocations: 171.7 kB / 1.004 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.6791, allocations: 0.8257 MB / 1.005 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.6792, allocations: 24 kB / 1.005 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.6903, allocations: 20.6 MB / 1.025 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6903, allocations: 4 kB / 1.025 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.6936, allocations: 3.011 MB / 1.028 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.6941, allocations: 390.5 kB / 1.028 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6942, allocations: 31.98 kB / 1.029 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.6946, allocations: 71.91 kB / 1.029 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.6949, allocations: 132.8 kB / 1.029 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6949, allocations: 36 kB / 1.029 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008659/0.6958, allocations: 0.9756 MB / 1.03 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.6958, allocations: 4 kB / 1.03 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001912/0.6977, allocations: 0.7852 MB / 1.03 GB, free: 6.355 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003109/0.7008, allocations: 3.599 MB / 1.034 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.704, allocations: 3.929 MB / 1.038 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.704, allocations: 0 / 1.038 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.7059, allocations: 2.659 MB / 1.04 GB, free: 11.74 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.7075, allocations: 0.7383 MB / 1.041 GB, free: 11.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.7286, allocations: 22.51 MB / 1.063 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.7308, allocations: 2.561 MB / 1.066 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000933/0.7317, allocations: 465.9 kB / 1.066 GB, free: 476 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.733, allocations: 1.534 MB / 1.068 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of SimCode: time 1.392e-06/0.733, allocations: 0 / 1.068 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0849/0.8179, allocations: 65.7 MB / 1.132 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.02, allocations: 4.062 kB / 1.132 GB, free: 13.98 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.384397361893207] Failed to read output from testmodel.py, exit status != 0: 9.124993335921317 9.435134878 8.547209272 Calling exit ...