Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0009579/0.0009579, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001137/0.001137, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9276/0.9276, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7351/0.7351, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.116e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01211/0.01213, allocations: 15.16 MB / 0.6328 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007334/0.01946, allocations: 4.734 MB / 0.6375 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.02075, allocations: 83.38 kB / 0.6375 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.02243, allocations: 1.053 MB / 0.6386 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.02382, allocations: 0.8118 MB / 0.6394 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.02549, allocations: 0.9115 MB / 0.6403 GB, free: 6.922 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.02853, allocations: 3.687 MB / 0.6439 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.03116, allocations: 2.434 MB / 0.6462 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.03366, allocations: 2.273 MB / 0.6485 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.03566, allocations: 1.691 MB / 0.6501 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005512/0.03621, allocations: 340 kB / 0.6504 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.03728, allocations: 0.7526 MB / 0.6512 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000943/0.03822, allocations: 1.426 MB / 0.6526 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009574/0.03918, allocations: 1.014 MB / 0.6535 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.04255, allocations: 5.248 MB / 0.6587 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.04256, allocations: 0 / 0.6587 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.04256, allocations: 0 / 0.6587 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.73e-05/0.04264, allocations: 0 / 0.6587 GB, free: 3.949 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003512/0.04616, allocations: 2.611 MB / 0.6612 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.04621, allocations: 9.469 kB / 0.6612 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/0.04656, allocations: 370.5 kB / 0.6616 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.0489, allocations: 0.8576 MB / 0.6624 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.05061, allocations: 1.535 MB / 0.6639 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.05088, allocations: 177.1 kB / 0.6641 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.05113, allocations: 232.4 kB / 0.6643 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.05531, allocations: 4.27 MB / 0.6685 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.05535, allocations: 4.141 kB / 0.6685 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.05552, allocations: 108 kB / 0.6686 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.05565, allocations: 168.5 kB / 0.6687 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.05959, allocations: 3.621 MB / 0.6723 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2862/0.3458, allocations: 11.02 MB / 0.683 GB, free: 88.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.3475, allocations: 1.461 MB / 0.6845 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.348, allocations: 0.5459 MB / 0.685 GB, free: 88.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/0.3481, allocations: 18.23 kB / 0.685 GB, free: 88.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3481, allocations: 44.97 kB / 0.6851 GB, free: 88.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 4.098e-06/0.3481, allocations: 0 / 0.6851 GB, free: 88.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.003631/0.3518, allocations: 3.206 MB / 0.6882 GB, free: 86.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3518, allocations: 113.6 kB / 0.6883 GB, free: 86.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.3528, allocations: 1.05 MB / 0.6893 GB, free: 86.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3528, allocations: 40.11 kB / 0.6894 GB, free: 86.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.3532, allocations: 1.142 MB / 0.6905 GB, free: 85.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.3534, allocations: 281.7 kB / 0.6908 GB, free: 85.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.3536, allocations: 280 kB / 0.691 GB, free: 85.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.3537, allocations: 420 kB / 0.6914 GB, free: 84.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.3542, allocations: 0.6139 MB / 0.692 GB, free: 84.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.3549, allocations: 1.185 MB / 0.6932 GB, free: 83.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3562, allocations: 1.869 MB / 0.695 GB, free: 82.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.3562, allocations: 6 kB / 0.695 GB, free: 82.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001791/0.358, allocations: 2.019 MB / 0.697 GB, free: 81.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.358, allocations: 16.59 kB / 0.697 GB, free: 81.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.358, allocations: 20.42 kB / 0.697 GB, free: 81.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.3583, allocations: 169.2 kB / 0.6972 GB, free: 81.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3589, allocations: 346 kB / 0.6975 GB, free: 81.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.3589, allocations: 36.08 kB / 0.6975 GB, free: 81.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.3595, allocations: 127.2 kB / 0.6977 GB, free: 81.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.3595, allocations: 73.47 kB / 0.6977 GB, free: 81.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009739/0.3605, allocations: 0.9778 MB / 0.6987 GB, free: 81.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3606, allocations: 114.4 kB / 0.6988 GB, free: 81.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3618, allocations: 1.227 MB / 0.7 GB, free: 80.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3618, allocations: 7.5 kB / 0.7 GB, free: 80.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3618, allocations: 2.375 kB / 0.7 GB, free: 80.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3618, allocations: 6.656 kB / 0.7 GB, free: 80.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.365, allocations: 3.442 MB / 0.7034 GB, free: 79.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.365, allocations: 3.062 kB / 0.7034 GB, free: 79.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3653, allocations: 156.6 kB / 0.7035 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/0.3655, allocations: 151.8 kB / 0.7037 GB, free: 79.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3655, allocations: 17.25 kB / 0.7037 GB, free: 79.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.3655, allocations: 6.969 kB / 0.7037 GB, free: 79.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3655, allocations: 3.172 kB / 0.7037 GB, free: 79.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3666, allocations: 1.462 MB / 0.7051 GB, free: 78.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.3669, allocations: 205.7 kB / 0.7053 GB, free: 78.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.367, allocations: 23.36 kB / 0.7053 GB, free: 78.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3673, allocations: 64.59 kB / 0.7054 GB, free: 78.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3674, allocations: 69.72 kB / 0.7055 GB, free: 78.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3674, allocations: 19.75 kB / 0.7055 GB, free: 78.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005656/0.368, allocations: 0.6975 MB / 0.7062 GB, free: 77.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.368, allocations: 0 / 0.7062 GB, free: 77.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001089/0.3691, allocations: 388.5 kB / 0.7065 GB, free: 77.78 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.3703, allocations: 2.038 MB / 0.7085 GB, free: 76.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.3724, allocations: 1.357 MB / 0.7099 GB, free: 75.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.3724, allocations: 0.5 kB / 0.7099 GB, free: 75.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.3731, allocations: 0.5282 MB / 0.7104 GB, free: 75.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3742, allocations: 271.8 kB / 0.7106 GB, free: 75.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.3901, allocations: 12.89 MB / 0.7232 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.3914, allocations: 1.334 MB / 0.7245 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007993/0.3922, allocations: 452.9 kB / 0.725 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.3928, allocations: 0.7151 MB / 0.7257 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of SimCode: time 1.774e-06/0.3928, allocations: 0.5625 kB / 0.7257 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.4441, allocations: 29.22 MB / 0.7542 GB, free: 57.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.109, allocations: 15.17 kB / 0.7542 GB, free: 57.76 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.917590047232807] Failed to read output from testmodel.py, exit status != 0: 8.205535605549812 8.216800774 8.172561244 Calling exit ...