Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0008408/0.0008408, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008552/0.0008552, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.945/0.945, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7187/0.7187, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.073e-05, allocations: 2.906 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0235/0.02352, allocations: 32.98 MB / 0.6503 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.03683, allocations: 11.37 MB / 0.6614 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.03939, allocations: 210.4 kB / 0.6616 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.04484, allocations: 4.283 MB / 0.6658 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.05002, allocations: 2.144 MB / 0.6679 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.05472, allocations: 2.44 MB / 0.6703 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3068/0.3615, allocations: 8.606 MB / 0.6787 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007233/0.3687, allocations: 6.185 MB / 0.6847 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00852/0.3772, allocations: 5.398 MB / 0.69 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00607/0.3833, allocations: 3.898 MB / 0.6938 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.3855, allocations: 0.7811 MB / 0.6946 GB, free: 52.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004715/0.3903, allocations: 1.929 MB / 0.6965 GB, free: 52.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003867/0.3941, allocations: 3.277 MB / 0.6997 GB, free: 51.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004591/0.3987, allocations: 2.371 MB / 0.702 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.4134, allocations: 12.24 MB / 0.7139 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4134, allocations: 4.031 kB / 0.7139 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4134, allocations: 0 / 0.7139 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005089/0.4139, allocations: 1.688 kB / 0.7139 GB, free: 49.46 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01828/0.4322, allocations: 5.802 MB / 0.7196 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4322, allocations: 10.83 kB / 0.7196 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00283/0.435, allocations: 0.8064 MB / 0.7204 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0057/0.4407, allocations: 1.1 MB / 0.7215 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007947/0.4487, allocations: 3.422 MB / 0.7248 GB, free: 44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/0.4492, allocations: 411.9 kB / 0.7252 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.4516, allocations: 0.5444 MB / 0.7257 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.4731, allocations: 9.38 MB / 0.7349 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/0.4734, allocations: 32.08 kB / 0.7349 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001709/0.4751, allocations: 239.9 kB / 0.7352 GB, free: 39.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004039/0.4755, allocations: 351.5 kB / 0.7355 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.4883, allocations: 6.821 MB / 0.7422 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.5183, allocations: 25.09 MB / 0.7667 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.5203, allocations: 2.297 MB / 0.7689 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.5217, allocations: 1.772 MB / 0.7706 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/0.5218, allocations: 20.53 kB / 0.7707 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.5218, allocations: 50.25 kB / 0.7707 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.647e-06/0.5218, allocations: 2.781 kB / 0.7707 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01408/0.5359, allocations: 9.686 MB / 0.7802 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5359, allocations: 70.59 kB / 0.7802 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.5374, allocations: 1.562 MB / 0.7818 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.5375, allocations: 57.7 kB / 0.7818 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.538, allocations: 2.321 MB / 0.7841 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.5384, allocations: 0.65 MB / 0.7847 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.5387, allocations: 411.6 kB / 0.7851 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.5387, allocations: 301.1 kB / 0.7854 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.5397, allocations: 1.179 MB / 0.7865 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.5409, allocations: 1.886 MB / 0.7884 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.5434, allocations: 3.375 MB / 0.7917 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.5434, allocations: 8 kB / 0.7917 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005616/0.549, allocations: 4.538 MB / 0.7961 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.549, allocations: 12 kB / 0.7961 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.5491, allocations: 28.16 kB / 0.7962 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.5513, allocations: 1.579 MB / 0.7977 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.5521, allocations: 356.1 kB / 0.798 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.5675, allocations: 17.94 MB / 0.8156 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5689, allocations: 119.8 kB / 0.8157 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5691, allocations: 99.98 kB / 0.8158 GB, free: 7.723 MB / 0.6667 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003186/0.5722, allocations: 1.897 MB / 0.8176 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.5727, allocations: 234.6 kB / 0.8178 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.5771, allocations: 4.035 MB / 0.8218 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5771, allocations: 20 kB / 0.8218 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/0.5771, allocations: 20 kB / 0.8218 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5771, allocations: 11.95 kB / 0.8218 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.5883, allocations: 8.66 MB / 0.8303 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5884, allocations: 4 kB / 0.8303 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.5888, allocations: 182.4 kB / 0.8305 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.5908, allocations: 1.351 MB / 0.8318 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5909, allocations: 36 kB / 0.8318 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.6047, allocations: 16.72 MB / 0.8482 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.6047, allocations: 7.375 kB / 0.8482 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.6094, allocations: 4.024 MB / 0.8521 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.6102, allocations: 477.7 kB / 0.8526 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6104, allocations: 43.92 kB / 0.8526 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.6109, allocations: 87.89 kB / 0.8527 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/0.6112, allocations: 165.2 kB / 0.8528 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.6113, allocations: 55.92 kB / 0.8529 GB, free: 1.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009624/0.6123, allocations: 1.001 MB / 0.8539 GB, free: 284 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.6123, allocations: 0 / 0.8539 GB, free: 284 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.002356/0.6146, allocations: 0.9844 MB / 0.8548 GB, free: 15.29 MB / 0.7136 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004179/0.6188, allocations: 4.62 MB / 0.8593 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004184/0.623, allocations: 4.163 MB / 0.8634 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.623, allocations: 0 / 0.8634 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.6255, allocations: 2.569 MB / 0.8659 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.6275, allocations: 0.7916 MB / 0.8667 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/0.6588, allocations: 27.03 MB / 0.8931 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/0.662, allocations: 3.035 MB / 0.896 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001072/0.663, allocations: 471.9 kB / 0.8965 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/0.6646, allocations: 1.789 MB / 0.8982 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of SimCode: time 1.673e-06/0.6646, allocations: 0 / 0.8982 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09904/0.7636, allocations: 78.45 MB / 0.9749 GB, free: 4.691 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/9.611, allocations: 7.922 kB / 0.9749 GB, free: 4.684 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.530632259324193] Failed to read output from testmodel.py, exit status != 0: 9.728071577847004 9.740174483 9.324552846 Calling exit ...